package com.syh.jn.scm.domain.supplier.event.finance;

import com.syh.core.ddd.domain.DomainEvent;
import com.syh.jn.scm.domain.supplier.entity.finance.StatementAccountBill;

public class StatementAccountBillEvent extends DomainEvent<StatementAccountBill> {

  public static final String STATEMENT_BILL_ACCOUNT_DESTROY = "statementBillAccountEventDestroy";
  public static final String STATEMENT_BILL_ACCOUNT_UPDATA = "statementBillAccountEventUpdata";
  public static final String STATEMENT_BILL_ACCOUNT_CREATED = "statementBillAccountEventCreated";

  public static StatementAccountBillEvent buildStatementBillAccountCreated(Object[] values) {
    StatementAccountBillEvent stateEvent = new StatementAccountBillEvent();
    stateEvent.eventName = STATEMENT_BILL_ACCOUNT_CREATED;
    stateEvent.values = values;
    return stateEvent;
  }

  public static StatementAccountBillEvent buildStatementBillAccountUpdata(Object[] values) {
    StatementAccountBillEvent stateEvent = new StatementAccountBillEvent();
    stateEvent.eventName = STATEMENT_BILL_ACCOUNT_UPDATA;
    stateEvent.values = values;
    return stateEvent;
  }


  public static StatementAccountBillEvent buildStatementBillAccountDestroy(Object[] values) {
    StatementAccountBillEvent stateEvent = new StatementAccountBillEvent();
    stateEvent.eventName = STATEMENT_BILL_ACCOUNT_DESTROY;
    stateEvent.values = values;
    return stateEvent;
  }


}
